home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / RIncludes / AERegistry.r < prev    next >
Encoding:
Text File  |  1998-02-12  |  29.3 KB  |  598 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        AERegistry.r
  3.  
  4.      Contains:    AppleEvents Registry Interface.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.1
  8.  
  9.      Copyright:    © 1993-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18.  
  19. #ifndef __AEREGISTRY_R__
  20. #define __AEREGISTRY_R__
  21.  
  22. #ifndef __CONDITIONALMACROS_R__
  23. #include "ConditionalMacros.r"
  24. #endif
  25.  
  26. #define cAEList                         'list'                /*   0x6c697374   */
  27. #define cApplication                     'capp'                /*   0x63617070   */
  28. #define cArc                             'carc'                /*   0x63617263   */
  29. #define cBoolean                         'bool'                /*   0x626f6f6c   */
  30. #define cCell                             'ccel'                /*   0x6363656c   */
  31. #define cChar                             'cha '                /*   0x63686120   */
  32. #define cColorTable                     'clrt'                /*   0x636c7274   */
  33. #define cColumn                         'ccol'                /*   0x63636f6c   */
  34. #define cDocument                         'docu'                /*   0x646f6375   */
  35. #define cDrawingArea                     'cdrw'                /*   0x63647277   */
  36. #define cEnumeration                     'enum'                /*   0x656e756d   */
  37. #define cFile                             'file'                /*   0x66696c65   */
  38. #define cFixed                             'fixd'                /*   0x66697864   */
  39. #define cFixedPoint                     'fpnt'                /*   0x66706e74   */
  40. #define cFixedRectangle                 'frct'                /*   0x66726374   */
  41. #define cGraphicLine                     'glin'                /*   0x676c696e   */
  42. #define cGraphicObject                     'cgob'                /*   0x63676f62   */
  43. #define cGraphicShape                     'cgsh'                /*   0x63677368   */
  44. #define cGraphicText                     'cgtx'                /*   0x63677478   */
  45. #define cGroupedGraphic                 'cpic'                /*   0x63706963   */
  46.  
  47. #define cInsertionLoc                     'insl'                /*   0x696e736c   */
  48. #define cInsertionPoint                 'cins'                /*   0x63696e73   */
  49. #define cIntlText                         'itxt'                /*   0x69747874   */
  50. #define cIntlWritingCode                 'intl'                /*   0x696e746c   */
  51. #define cItem                             'citm'                /*   0x6369746d   */
  52. #define cLine                             'clin'                /*   0x636c696e   */
  53. #define cLongDateTime                     'ldt '                /*   0x6c647420   */
  54. #define cLongFixed                         'lfxd'                /*   0x6c667864   */
  55. #define cLongFixedPoint                 'lfpt'                /*   0x6c667074   */
  56. #define cLongFixedRectangle             'lfrc'                /*   0x6c667263   */
  57. #define cLongInteger                     'long'                /*   0x6c6f6e67   */
  58. #define cLongPoint                         'lpnt'                /*   0x6c706e74   */
  59. #define cLongRectangle                     'lrct'                /*   0x6c726374   */
  60. #define cMachineLoc                     'mLoc'                /*   0x6d4c6f63   */
  61. #define cMenu                             'cmnu'                /*   0x636d6e75   */
  62. #define cMenuItem                         'cmen'                /*   0x636d656e   */
  63. #define cObject                         'cobj'                /*   0x636f626a   */
  64. #define cObjectSpecifier                 'obj '                /*   0x6f626a20   */
  65. #define cOpenableObject                 'coob'                /*   0x636f6f62   */
  66. #define cOval                             'covl'                /*   0x636f766c   */
  67.  
  68. #define cParagraph                         'cpar'                /*   0x63706172   */
  69. #define cPICT                             'PICT'                /*   0x50494354   */
  70. #define cPixel                             'cpxl'                /*   0x6370786c   */
  71. #define cPixelMap                         'cpix'                /*   0x63706978   */
  72. #define cPolygon                         'cpgn'                /*   0x6370676e   */
  73. #define cProperty                         'prop'                /*   0x70726f70   */
  74. #define cQDPoint                         'QDpt'                /*   0x51447074   */
  75. #define cQDRectangle                     'qdrt'                /*   0x71647274   */
  76. #define cRectangle                         'crec'                /*   0x63726563   */
  77. #define cRGBColor                         'cRGB'                /*   0x63524742   */
  78. #define cRotation                         'trot'                /*   0x74726f74   */
  79. #define cRoundedRectangle                 'crrc'                /*   0x63727263   */
  80. #define cRow                             'crow'                /*   0x63726f77   */
  81. #define cSelection                         'csel'                /*   0x6373656c   */
  82. #define cShortInteger                     'shor'                /*   0x73686f72   */
  83. #define cTable                             'ctbl'                /*   0x6374626c   */
  84. #define cText                             'ctxt'                /*   0x63747874   */
  85. #define cTextFlow                         'cflo'                /*   0x63666c6f   */
  86. #define cTextStyles                     'tsty'                /*   0x74737479   */
  87. #define cType                             'type'                /*   0x74797065   */
  88.  
  89. #define cVersion                         'vers'                /*   0x76657273   */
  90. #define cWindow                         'cwin'                /*   0x6377696e   */
  91. #define cWord                             'cwor'                /*   0x63776f72   */
  92. #define enumArrows                         'arro'                /*   0x6172726f   */
  93. #define enumJustification                 'just'                /*   0x6a757374   */
  94. #define enumKeyForm                     'kfrm'                /*   0x6b66726d   */
  95. #define enumPosition                     'posi'                /*   0x706f7369   */
  96. #define enumProtection                     'prtn'                /*   0x7072746e   */
  97. #define enumQuality                     'qual'                /*   0x7175616c   */
  98. #define enumSaveOptions                 'savo'                /*   0x7361766f   */
  99. #define enumStyle                         'styl'                /*   0x7374796c   */
  100. #define enumTransferMode                 'tran'                /*   0x7472616e   */
  101. #define formUniqueID                     'ID  '                /*   0x49442020   */
  102. #define kAEAbout                         'abou'                /*   0x61626f75   */
  103. #define kAEAfter                         'afte'                /*   0x61667465   */
  104. #define kAEAliasSelection                 'sali'                /*   0x73616c69   */
  105. #define kAEAllCaps                         'alcp'                /*   0x616c6370   */
  106. #define kAEArrowAtEnd                     'aren'                /*   0x6172656e   */
  107. #define kAEArrowAtStart                 'arst'                /*   0x61727374   */
  108. #define kAEArrowBothEnds                 'arbo'                /*   0x6172626f   */
  109.  
  110. #define kAEAsk                             'ask '                /*   0x61736b20   */
  111. #define kAEBefore                         'befo'                /*   0x6265666f   */
  112. #define kAEBeginning                     'bgng'                /*   0x62676e67   */
  113. #define kAEBeginsWith                     'bgwt'                /*   0x62677774   */
  114. #define kAEBeginTransaction             'begi'                /*   0x62656769   */
  115. #define kAEBold                         'bold'                /*   0x626f6c64   */
  116. #define kAECaseSensEquals                 'cseq'                /*   0x63736571   */
  117. #define kAECentered                     'cent'                /*   0x63656e74   */
  118. #define kAEChangeView                     'view'                /*   0x76696577   */
  119. #define kAEClone                         'clon'                /*   0x636c6f6e   */
  120. #define kAEClose                         'clos'                /*   0x636c6f73   */
  121. #define kAECondensed                     'cond'                /*   0x636f6e64   */
  122. #define kAEContains                     'cont'                /*   0x636f6e74   */
  123. #define kAECopy                         'copy'                /*   0x636f7079   */
  124. #define kAECoreSuite                     'core'                /*   0x636f7265   */
  125. #define kAECountElements                 'cnte'                /*   0x636e7465   */
  126. #define kAECreateElement                 'crel'                /*   0x6372656c   */
  127. #define kAECreatePublisher                 'cpub'                /*   0x63707562   */
  128. #define kAECut                             'cut '                /*   0x63757420   */
  129. #define kAEDelete                         'delo'                /*   0x64656c6f   */
  130.  
  131. #define kAEDoObjectsExist                 'doex'                /*   0x646f6578   */
  132. #define kAEDoScript                     'dosc'                /*   0x646f7363   */
  133. #define kAEDrag                         'drag'                /*   0x64726167   */
  134. #define kAEDuplicateSelection             'sdup'                /*   0x73647570   */
  135. #define kAEEditGraphic                     'edit'                /*   0x65646974   */
  136. #define kAEEmptyTrash                     'empt'                /*   0x656d7074   */
  137. #define kAEEnd                             'end '                /*   0x656e6420   */
  138. #define kAEEndsWith                     'ends'                /*   0x656e6473   */
  139. #define kAEEndTransaction                 'endt'                /*   0x656e6474   */
  140. #define kAEEquals                         '=   '                /*   0x3d202020   */
  141. #define kAEExpanded                     'pexp'                /*   0x70657870   */
  142. #define kAEFast                         'fast'                /*   0x66617374   */
  143. #define kAEFinderEvents                 'FNDR'                /*   0x464e4452   */
  144. #define kAEFormulaProtect                 'fpro'                /*   0x6670726f   */
  145. #define kAEFullyJustified                 'full'                /*   0x66756c6c   */
  146. #define kAEGetClassInfo                 'qobj'                /*   0x716f626a   */
  147. #define kAEGetData                         'getd'                /*   0x67657464   */
  148. #define kAEGetDataSize                     'dsiz'                /*   0x6473697a   */
  149. #define kAEGetEventInfo                 'gtei'                /*   0x67746569   */
  150. #define kAEGetInfoSelection             'sinf'                /*   0x73696e66   */
  151.  
  152. #define kAEGetPrivilegeSelection         'sprv'                /*   0x73707276   */
  153. #define kAEGetSuiteInfo                 'gtsi'                /*   0x67747369   */
  154. #define kAEGreaterThan                     '>   '                /*   0x3e202020   */
  155. #define kAEGreaterThanEquals             '>=  '                /*   0x3e3d2020   */
  156. #define kAEGrow                         'grow'                /*   0x67726f77   */
  157. #define kAEHidden                         'hidn'                /*   0x6869646e   */
  158. #define kAEHiQuality                     'hiqu'                /*   0x68697175   */
  159. #define kAEImageGraphic                 'imgr'                /*   0x696d6772   */
  160. #define kAEIsUniform                     'isun'                /*   0x6973756e   */
  161. #define kAEItalic                         'ital'                /*   0x6974616c   */
  162. #define kAELeftJustified                 'left'                /*   0x6c656674   */
  163. #define kAELessThan                     '<   '                /*   0x3c202020   */
  164. #define kAELessThanEquals                 '<=  '                /*   0x3c3d2020   */
  165. #define kAELowercase                     'lowc'                /*   0x6c6f7763   */
  166. #define kAEMakeObjectsVisible             'mvis'                /*   0x6d766973   */
  167. #define kAEMiscStandards                 'misc'                /*   0x6d697363   */
  168. #define kAEModifiable                     'modf'                /*   0x6d6f6466   */
  169. #define kAEMove                         'move'                /*   0x6d6f7665   */
  170. #define kAENo                             'no  '                /*   0x6e6f2020   */
  171. #define kAENoArrow                         'arno'                /*   0x61726e6f   */
  172.  
  173. #define kAENonmodifiable                 'nmod'                /*   0x6e6d6f64   */
  174. #define kAEOpen                         'odoc'                /*   0x6f646f63   */
  175. #define kAEOpenSelection                 'sope'                /*   0x736f7065   */
  176. #define kAEOutline                         'outl'                /*   0x6f75746c   */
  177. #define kAEPageSetup                     'pgsu'                /*   0x70677375   */
  178. #define kAEPaste                         'past'                /*   0x70617374   */
  179. #define kAEPlain                         'plan'                /*   0x706c616e   */
  180. #define kAEPrint                         'pdoc'                /*   0x70646f63   */
  181. #define kAEPrintSelection                 'spri'                /*   0x73707269   */
  182. #define kAEPrintWindow                     'pwin'                /*   0x7077696e   */
  183. #define kAEPutAwaySelection             'sput'                /*   0x73707574   */
  184. #define kAEQDAddOver                     'addo'                /*   0x6164646f   */
  185. #define kAEQDAddPin                     'addp'                /*   0x61646470   */
  186. #define kAEQDAdMax                         'admx'                /*   0x61646d78   */
  187. #define kAEQDAdMin                         'admn'                /*   0x61646d6e   */
  188. #define kAEQDBic                         'bic '                /*   0x62696320   */
  189. #define kAEQDBlend                         'blnd'                /*   0x626c6e64   */
  190. #define kAEQDCopy                         'cpy '                /*   0x63707920   */
  191. #define kAEQDNotBic                     'nbic'                /*   0x6e626963   */
  192. #define kAEQDNotCopy                     'ncpy'                /*   0x6e637079   */
  193.  
  194. #define kAEQDNotOr                         'ntor'                /*   0x6e746f72   */
  195. #define kAEQDNotXor                     'nxor'                /*   0x6e786f72   */
  196. #define kAEQDOr                         'or  '                /*   0x6f722020   */
  197. #define kAEQDSubOver                     'subo'                /*   0x7375626f   */
  198. #define kAEQDSubPin                     'subp'                /*   0x73756270   */
  199. #define kAEQDSupplementalSuite             'qdsp'                /*   0x71647370   */
  200. #define kAEQDXor                         'xor '                /*   0x786f7220   */
  201. #define kAEQuickdrawSuite                 'qdrw'                /*   0x71647277   */
  202. #define kAEQuitAll                         'quia'                /*   0x71756961   */
  203. #define kAERedo                         'redo'                /*   0x7265646f   */
  204. #define kAERegular                         'regl'                /*   0x7265676c   */
  205. #define kAEReopenApplication             'rapp'                /*   0x72617070   */
  206. #define kAEReplace                         'rplc'                /*   0x72706c63   */
  207. #define kAERequiredSuite                 'reqd'                /*   0x72657164   */
  208. #define kAERestart                         'rest'                /*   0x72657374   */
  209. #define kAERevealSelection                 'srev'                /*   0x73726576   */
  210. #define kAERevert                         'rvrt'                /*   0x72767274   */
  211. #define kAERightJustified                 'rght'                /*   0x72676874   */
  212. #define kAESave                         'save'                /*   0x73617665   */
  213. #define kAESelect                         'slct'                /*   0x736c6374   */
  214. #define kAESetData                         'setd'                /*   0x73657464   */
  215.  
  216. #define kAESetPosition                     'posn'                /*   0x706f736e   */
  217. #define kAEShadow                         'shad'                /*   0x73686164   */
  218. #define kAEShowClipboard                 'shcl'                /*   0x7368636c   */
  219. #define kAEShutDown                     'shut'                /*   0x73687574   */
  220. #define kAESleep                         'slep'                /*   0x736c6570   */
  221. #define kAESmallCaps                     'smcp'                /*   0x736d6370   */
  222. #define kAESpecialClassProperties         'c@#!'                /*   0x63402321   */
  223. #define kAEStrikethrough                 'strk'                /*   0x7374726b   */
  224. #define kAESubscript                     'sbsc'                /*   0x73627363   */
  225. #define kAESuperscript                     'spsc'                /*   0x73707363   */
  226. #define kAETableSuite                     'tbls'                /*   0x74626c73   */
  227. #define kAETextSuite                     'TEXT'                /*   0x54455854   */
  228. #define kAETransactionTerminated         'ttrm'                /*   0x7474726d   */
  229. #define kAEUnderline                     'undl'                /*   0x756e646c   */
  230. #define kAEUndo                         'undo'                /*   0x756e646f   */
  231. #define kAEWholeWordEquals                 'wweq'                /*   0x77776571   */
  232. #define kAEYes                             'yes '                /*   0x79657320   */
  233. #define kAEZoom                         'zoom'                /*   0x7a6f6f6d   */
  234.  
  235. #define kAEMouseClass                     'mous'
  236. #define kAEDown                         'down'
  237. #define kAEUp                             'up  '
  238. #define kAEMoved                         'move'
  239. #define kAEStoppedMoving                 'stop'
  240. #define kAEWindowClass                     'wind'
  241. #define kAEUpdate                         'updt'
  242. #define kAEActivate                     'actv'
  243. #define kAEDeactivate                     'dact'
  244. #define kAECommandClass                 'cmnd'                /*  Modern Command Event Class  */
  245. #define kAEKeyClass                     'keyc'
  246. #define kAERawKey                         'rkey'                /*  Modern Raw Key Event  */
  247. #define kAEVirtualKey                     'keyc'                /*  Modern Virtual Key Event  */
  248. #define kAENavigationKey                 'nave'                /*  Modern Navigation Key Event  */
  249. #define kAEAutoDown                     'auto'
  250. #define kAEApplicationClass             'appl'
  251. #define kAESuspend                         'susp'
  252. #define kAEResume                         'rsme'
  253. #define kAEDiskEvent                     'disk'
  254. #define kAENullEvent                     'null'
  255. #define kAEWakeUpEvent                     'wake'
  256. #define kAEScrapEvent                     'scrp'
  257. #define kAEHighLevel                     'high'
  258.  
  259. #define keyAEAngle                         'kang'                /*   0x6b616e67   */
  260. #define keyAEArcAngle                     'parc'                /*   0x70617263   */
  261.  
  262. #define keyAEBaseAddr                     'badd'                /*   0x62616464   */
  263. #define keyAEBestType                     'pbst'                /*   0x70627374   */
  264. #define keyAEBgndColor                     'kbcl'                /*   0x6b62636c   */
  265. #define keyAEBgndPattern                 'kbpt'                /*   0x6b627074   */
  266. #define keyAEBounds                     'pbnd'                /*   0x70626e64   */
  267. #define keyAECellList                     'kclt'                /*   0x6b636c74   */
  268. #define keyAEClassID                     'clID'                /*   0x636c4944   */
  269. #define keyAEColor                         'colr'                /*   0x636f6c72   */
  270. #define keyAEColorTable                 'cltb'                /*   0x636c7462   */
  271. #define keyAECurveHeight                 'kchd'                /*   0x6b636864   */
  272. #define keyAECurveWidth                 'kcwd'                /*   0x6b637764   */
  273. #define keyAEDashStyle                     'pdst'                /*   0x70647374   */
  274. #define keyAEData                         'data'                /*   0x64617461   */
  275. #define keyAEDefaultType                 'deft'                /*   0x64656674   */
  276. #define keyAEDefinitionRect             'pdrt'                /*   0x70647274   */
  277. #define keyAEDescType                     'dstp'                /*   0x64737470   */
  278. #define keyAEDestination                 'dest'                /*   0x64657374   */
  279. #define keyAEDoAntiAlias                 'anta'                /*   0x616e7461   */
  280. #define keyAEDoDithered                 'gdit'                /*   0x67646974   */
  281. #define keyAEDoRotate                     'kdrt'                /*   0x6b647274   */
  282.  
  283. #define keyAEDoScale                     'ksca'                /*   0x6b736361   */
  284. #define keyAEDoTranslate                 'ktra'                /*   0x6b747261   */
  285. #define keyAEEditionFileLoc             'eloc'                /*   0x656c6f63   */
  286. #define keyAEElements                     'elms'                /*   0x656c6d73   */
  287. #define keyAEEndPoint                     'pend'                /*   0x70656e64   */
  288. #define keyAEEventClass                 'evcl'                /*   0x6576636c   */
  289. #define keyAEEventID                     'evti'                /*   0x65767469   */
  290. #define keyAEFile                         'kfil'                /*   0x6b66696c   */
  291. #define keyAEFileType                     'fltp'                /*   0x666c7470   */
  292. #define keyAEFillColor                     'flcl'                /*   0x666c636c   */
  293. #define keyAEFillPattern                 'flpt'                /*   0x666c7074   */
  294. #define keyAEFlipHorizontal             'kfho'                /*   0x6b66686f   */
  295. #define keyAEFlipVertical                 'kfvt'                /*   0x6b667674   */
  296. #define keyAEFont                         'font'                /*   0x666f6e74   */
  297. #define keyAEFormula                     'pfor'                /*   0x70666f72   */
  298. #define keyAEGraphicObjects             'gobs'                /*   0x676f6273   */
  299. #define keyAEID                         'ID  '                /*   0x49442020   */
  300. #define keyAEImageQuality                 'gqua'                /*   0x67717561   */
  301. #define keyAEInsertHere                 'insh'                /*   0x696e7368   */
  302. #define keyAEKeyForms                     'keyf'                /*   0x6b657966   */
  303.  
  304. #define keyAEKeyword                     'kywd'                /*   0x6b797764   */
  305. #define keyAELevel                         'levl'                /*   0x6c65766c   */
  306. #define keyAELineArrow                     'arro'                /*   0x6172726f   */
  307. #define keyAEName                         'pnam'                /*   0x706e616d   */
  308. #define keyAENewElementLoc                 'pnel'                /*   0x706e656c   */
  309. #define keyAEObject                     'kobj'                /*   0x6b6f626a   */
  310. #define keyAEObjectClass                 'kocl'                /*   0x6b6f636c   */
  311. #define keyAEOffStyles                     'ofst'                /*   0x6f667374   */
  312. #define keyAEOnStyles                     'onst'                /*   0x6f6e7374   */
  313. #define keyAEParameters                 'prms'                /*   0x70726d73   */
  314. #define keyAEParamFlags                 'pmfg'                /*   0x706d6667   */
  315. #define keyAEPenColor                     'ppcl'                /*   0x7070636c   */
  316. #define keyAEPenPattern                 'pppa'                /*   0x70707061   */
  317. #define keyAEPenWidth                     'ppwd'                /*   0x70707764   */
  318. #define keyAEPixelDepth                 'pdpt'                /*   0x70647074   */
  319. #define keyAEPixMapMinus                 'kpmm'                /*   0x6b706d6d   */
  320. #define keyAEPMTable                     'kpmt'                /*   0x6b706d74   */
  321. #define keyAEPointList                     'ptlt'                /*   0x70746c74   */
  322. #define keyAEPointSize                     'ptsz'                /*   0x7074737a   */
  323. #define keyAEPosition                     'kpos'                /*   0x6b706f73   */
  324.  
  325. #define keyAEPropData                     'prdt'                /*   0x70726474   */
  326. #define keyAEProperties                 'qpro'                /*   0x7170726f   */
  327. #define keyAEProperty                     'kprp'                /*   0x6b707270   */
  328. #define keyAEPropFlags                     'prfg'                /*   0x70726667   */
  329. #define keyAEPropID                     'prop'                /*   0x70726f70   */
  330. #define keyAEProtection                 'ppro'                /*   0x7070726f   */
  331. #define keyAERenderAs                     'kren'                /*   0x6b72656e   */
  332. #define keyAERequestedType                 'rtyp'                /*   0x72747970   */
  333. #define keyAEResult                     '----'                /*   0x2d2d2d2d   */
  334. #define keyAEResultInfo                 'rsin'                /*   0x7273696e   */
  335. #define keyAERotation                     'prot'                /*   0x70726f74   */
  336. #define keyAERotPoint                     'krtp'                /*   0x6b727470   */
  337. #define keyAERowList                     'krls'                /*   0x6b726c73   */
  338. #define keyAESaveOptions                 'savo'                /*   0x7361766f   */
  339. #define keyAEScale                         'pscl'                /*   0x7073636c   */
  340. #define keyAEScriptTag                     'psct'                /*   0x70736374   */
  341. #define keyAEShowWhere                     'show'                /*   0x73686f77   */
  342. #define keyAEStartAngle                 'pang'                /*   0x70616e67   */
  343. #define keyAEStartPoint                 'pstp'                /*   0x70737470   */
  344. #define keyAEStyles                     'ksty'                /*   0x6b737479   */
  345.  
  346. #define keyAESuiteID                     'suit'                /*   0x73756974   */
  347. #define keyAEText                         'ktxt'                /*   0x6b747874   */
  348. #define keyAETextColor                     'ptxc'                /*   0x70747863   */
  349. #define keyAETextFont                     'ptxf'                /*   0x70747866   */
  350. #define keyAETextPointSize                 'ptps'                /*   0x70747073   */
  351. #define keyAETextStyles                 'txst'                /*   0x74787374   */
  352. #define keyAETextLineHeight             'ktlh'                /*  type ShortInteger  */
  353. #define keyAETextLineAscent             'ktas'                /*  type ShortInteger  */
  354. #define keyAETheText                     'thtx'                /*   0x74687478   */
  355. #define keyAETransferMode                 'pptm'                /*   0x7070746d   */
  356. #define keyAETranslation                 'ptrs'                /*   0x70747273   */
  357. #define keyAETryAsStructGraf             'toog'                /*   0x746f6f67   */
  358. #define keyAEUniformStyles                 'ustl'                /*   0x7573746c   */
  359. #define keyAEUpdateOn                     'pupd'                /*   0x70757064   */
  360. #define keyAEUserTerm                     'utrm'                /*   0x7574726d   */
  361. #define keyAEWindow                     'wndw'                /*   0x776e6477   */
  362. #define keyAEWritingCode                 'wrcd'                /*   0x77726364   */
  363.  
  364. #define keyMiscellaneous                 'fmsc'                /*   0x666d7363   */
  365. #define keySelection                     'fsel'                /*   0x6673656c   */
  366. #define keyWindow                         'kwnd'                /*   0x6b776e64   */
  367.                                                             /*  EventRecord keys  */
  368. #define keyWhen                         'when'
  369. #define keyWhere                         'wher'
  370. #define keyModifiers                     'mods'
  371. #define keyKey                             'key '
  372. #define keyKeyCode                         'code'
  373. #define keyKeyboard                     'keyb'
  374. #define keyDriveNumber                     'drv#'
  375. #define keyErrorCode                     'err#'
  376. #define keyHighLevelClass                 'hcls'
  377. #define keyHighLevelID                     'hid '
  378.  
  379. #define pArcAngle                         'parc'                /*   0x70617263   */
  380. #define pBackgroundColor                 'pbcl'                /*   0x7062636c   */
  381. #define pBackgroundPattern                 'pbpt'                /*   0x70627074   */
  382. #define pBestType                         'pbst'                /*   0x70627374   */
  383. #define pBounds                         'pbnd'                /*   0x70626e64   */
  384. #define pClass                             'pcls'                /*   0x70636c73   */
  385. #define pClipboard                         'pcli'                /*   0x70636c69   */
  386. #define pColor                             'colr'                /*   0x636f6c72   */
  387. #define pColorTable                     'cltb'                /*   0x636c7462   */
  388. #define pContents                         'pcnt'                /*   0x70636e74   */
  389. #define pCornerCurveHeight                 'pchd'                /*   0x70636864   */
  390. #define pCornerCurveWidth                 'pcwd'                /*   0x70637764   */
  391. #define pDashStyle                         'pdst'                /*   0x70647374   */
  392. #define pDefaultType                     'deft'                /*   0x64656674   */
  393. #define pDefinitionRect                 'pdrt'                /*   0x70647274   */
  394. #define pEnabled                         'enbl'                /*   0x656e626c   */
  395. #define pEndPoint                         'pend'                /*   0x70656e64   */
  396. #define pFillColor                         'flcl'                /*   0x666c636c   */
  397. #define pFillPattern                     'flpt'                /*   0x666c7074   */
  398. #define pFont                             'font'                /*   0x666f6e74   */
  399.  
  400. #define pFormula                         'pfor'                /*   0x70666f72   */
  401. #define pGraphicObjects                 'gobs'                /*   0x676f6273   */
  402. #define pHasCloseBox                     'hclb'                /*   0x68636c62   */
  403. #define pHasTitleBar                     'ptit'                /*   0x70746974   */
  404. #define pID                             'ID  '                /*   0x49442020   */
  405. #define pIndex                             'pidx'                /*   0x70696478   */
  406. #define pInsertionLoc                     'pins'                /*   0x70696e73   */
  407. #define pIsFloating                     'isfl'                /*   0x6973666c   */
  408. #define pIsFrontProcess                 'pisf'                /*   0x70697366   */
  409. #define pIsModal                         'pmod'                /*   0x706d6f64   */
  410. #define pIsModified                     'imod'                /*   0x696d6f64   */
  411. #define pIsResizable                     'prsz'                /*   0x7072737a   */
  412. #define pIsStationeryPad                 'pspd'                /*   0x70737064   */
  413. #define pIsZoomable                     'iszm'                /*   0x69737a6d   */
  414. #define pIsZoomed                         'pzum'                /*   0x707a756d   */
  415. #define pItemNumber                     'itmn'                /*   0x69746d6e   */
  416. #define pJustification                     'pjst'                /*   0x706a7374   */
  417. #define pLineArrow                         'arro'                /*   0x6172726f   */
  418. #define pMenuID                         'mnid'                /*   0x6d6e6964   */
  419. #define pName                             'pnam'                /*   0x706e616d   */
  420.  
  421. #define pNewElementLoc                     'pnel'                /*   0x706e656c   */
  422. #define pPenColor                         'ppcl'                /*   0x7070636c   */
  423. #define pPenPattern                     'pppa'                /*   0x70707061   */
  424. #define pPenWidth                         'ppwd'                /*   0x70707764   */
  425. #define pPixelDepth                     'pdpt'                /*   0x70647074   */
  426. #define pPointList                         'ptlt'                /*   0x70746c74   */
  427. #define pPointSize                         'ptsz'                /*   0x7074737a   */
  428. #define pProtection                     'ppro'                /*   0x7070726f   */
  429. #define pRotation                         'prot'                /*   0x70726f74   */
  430. #define pScale                             'pscl'                /*   0x7073636c   */
  431. #define pScript                         'scpt'                /*   0x73637074   */
  432. #define pScriptTag                         'psct'                /*   0x70736374   */
  433. #define pSelected                         'selc'                /*   0x73656c63   */
  434. #define pSelection                         'sele'                /*   0x73656c65   */
  435. #define pStartAngle                     'pang'                /*   0x70616e67   */
  436. #define pStartPoint                     'pstp'                /*   0x70737470   */
  437. #define pTextColor                         'ptxc'                /*   0x70747863   */
  438. #define pTextFont                         'ptxf'                /*   0x70747866   */
  439. #define pTextItemDelimiters             'txdl'                /*   0x7478646c   */
  440. #define pTextPointSize                     'ptps'                /*   0x70747073   */
  441.  
  442. #define pTextStyles                     'txst'                /*   0x74787374   */
  443. #define pTransferMode                     'pptm'                /*   0x7070746d   */
  444. #define pTranslation                     'ptrs'                /*   0x70747273   */
  445. #define pUniformStyles                     'ustl'                /*   0x7573746c   */
  446. #define pUpdateOn                         'pupd'                /*   0x70757064   */
  447. #define pUserSelection                     'pusl'                /*   0x7075736c   */
  448. #define pVersion                         'vers'                /*   0x76657273   */
  449. #define pVisible                         'pvis'                /*   0x70766973   */
  450.  
  451. #define typeAEText                         'tTXT'                /*   0x74545854   */
  452. #define typeArc                         'carc'                /*   0x63617263   */
  453. #define typeBest                         'best'                /*   0x62657374   */
  454. #define typeCell                         'ccel'                /*   0x6363656c   */
  455. #define typeClassInfo                     'gcli'                /*   0x67636c69   */
  456. #define typeColorTable                     'clrt'                /*   0x636c7274   */
  457. #define typeColumn                         'ccol'                /*   0x63636f6c   */
  458. #define typeDashStyle                     'tdas'                /*   0x74646173   */
  459. #define typeData                         'tdta'                /*   0x74647461   */
  460. #define typeDrawingArea                 'cdrw'                /*   0x63647277   */
  461. #define typeElemInfo                     'elin'                /*   0x656c696e   */
  462. #define typeEnumeration                 'enum'                /*   0x656e756d   */
  463. #define typeEPS                         'EPS '                /*   0x45505320   */
  464. #define typeEventInfo                     'evin'                /*   0x6576696e   */
  465.  
  466. #define typeFinderWindow                 'fwin'                /*   0x6677696e   */
  467. #define typeFixedPoint                     'fpnt'                /*   0x66706e74   */
  468. #define typeFixedRectangle                 'frct'                /*   0x66726374   */
  469. #define typeGraphicLine                 'glin'                /*   0x676c696e   */
  470. #define typeGraphicText                 'cgtx'                /*   0x63677478   */
  471. #define typeGroupedGraphic                 'cpic'                /*   0x63706963   */
  472. #define typeInsertionLoc                 'insl'                /*   0x696e736c   */
  473. #define typeIntlText                     'itxt'                /*   0x69747874   */
  474. #define typeIntlWritingCode             'intl'                /*   0x696e746c   */
  475. #define typeLongDateTime                 'ldt '                /*   0x6c647420   */
  476. #define typeLongFixed                     'lfxd'                /*   0x6c667864   */
  477. #define typeLongFixedPoint                 'lfpt'                /*   0x6c667074   */
  478. #define typeLongFixedRectangle             'lfrc'                /*   0x6c667263   */
  479. #define typeLongPoint                     'lpnt'                /*   0x6c706e74   */
  480. #define typeLongRectangle                 'lrct'                /*   0x6c726374   */
  481. #define typeMachineLoc                     'mLoc'                /*   0x6d4c6f63   */
  482. #define typeOval                         'covl'                /*   0x636f766c   */
  483. #define typeParamInfo                     'pmin'                /*   0x706d696e   */
  484. #define typePict                         'PICT'                /*   0x50494354   */
  485.  
  486. #define typePixelMap                     'cpix'                /*   0x63706978   */
  487. #define typePixMapMinus                 'tpmm'                /*   0x74706d6d   */
  488. #define typePolygon                     'cpgn'                /*   0x6370676e   */
  489. #define typePropInfo                     'pinf'                /*   0x70696e66   */
  490. #define typeQDPoint                     'QDpt'                /*   0x51447074   */
  491. #define typeQDRegion                     'Qrgn'                /*   0x51447074  (data is actual region data, including rectangle and size, _not_ region handle or ptr) */
  492. #define typeRectangle                     'crec'                /*   0x63726563   */
  493. #define typeRGB16                         'tr16'                /*   0x74723136   */
  494. #define typeRGB96                         'tr96'                /*   0x74723936   */
  495. #define typeRGBColor                     'cRGB'                /*   0x63524742   */
  496. #define typeRotation                     'trot'                /*   0x74726f74   */
  497. #define typeRoundedRectangle             'crrc'                /*   0x63727263   */
  498. #define typeRow                         'crow'                /*   0x63726f77   */
  499. #define typeScrapStyles                 'styl'                /*   0x7374796c   */
  500. #define typeScript                         'scpt'                /*   0x73637074   */
  501. #define typeStyledText                     'STXT'                /*   0x53545854   */
  502. #define typeSuiteInfo                     'suin'                /*   0x7375696e   */
  503. #define typeTable                         'ctbl'                /*   0x6374626c   */
  504. #define typeTextStyles                     'tsty'                /*   0x74737479   */
  505.  
  506. #define typeTIFF                         'TIFF'                /*   0x54494646   */
  507. #define typeVersion                     'vers'                /*   0x76657273   */
  508.  
  509. #define kAEMenuClass                     'menu'
  510. #define kAEMenuSelect                     'mhit'
  511. #define kAEMouseDown                     'mdwn'
  512. #define kAEMouseDownInBack                 'mdbk'
  513. #define kAEKeyDown                         'kdwn'
  514. #define kAEResized                         'rsiz'
  515. #define kAEPromise                         'prom'
  516.  
  517. #define keyMenuID                         'mid '
  518. #define keyMenuItem                     'mitm'
  519. #define keyCloseAllWindows                 'caw '
  520. #define keyOriginalBounds                 'obnd'
  521. #define keyNewBounds                     'nbnd'
  522. #define keyLocalWhere                     'lwhr'
  523.  
  524. #define typeHIMenu                         'mobj'
  525. #define typeHIWindow                     'wobj'
  526.  
  527. #define kBySmallIcon                     0
  528. #define kByIconView                     1
  529. #define kByNameView                     2
  530. #define kByDateView                     3
  531. #define kBySizeView                     4
  532. #define kByKindView                     5
  533. #define kByCommentView                     6
  534. #define kByLabelView                     7
  535. #define kByVersionView                     8
  536.  
  537. #define kAEInfo                         11
  538. #define kAEMain                         0
  539. #define kAESharing                         13
  540.  
  541. #define kAEZoomIn                         7
  542. #define kAEZoomOut                         8
  543.  
  544. #define kTextServiceClass                 'tsvc'
  545. #define kUpdateActiveInputArea             'updt'                /*  update the active input area  */
  546. #define kShowHideInputWindow             'shiw'                /*  show or hide the input window  */
  547. #define kPos2Offset                     'p2st'                /*  converting global coordinates to char position  */
  548. #define kOffset2Pos                     'st2p'                /*  converting char position to global coordinates  */
  549. #define keyAETSMDocumentRefcon             'refc'                /*  TSM document refcon, typeLongInteger  */
  550. #define keyAEServerInstance             'srvi'                /*  component instance  */
  551. #define keyAETheData                     'kdat'                /*  typeText  */
  552. #define keyAEFixLength                     'fixl'                /*  fix len ??  */
  553. #define keyAEUpdateRange                 'udng'                /*  typeTextRangeArray  */
  554. #define keyAECurrentPoint                 'cpos'                /*  current point  */
  555. #define keyAEBufferSize                 'buff'                /*  buffer size to get the text  */
  556. #define keyAEMoveView                     'mvvw'                /*  move view flag  */
  557. #define keyAENextBody                     'nxbd'                /*  next or previous body  */
  558. #define keyAETSMScriptTag                 'sclg'
  559. #define keyAETSMTextFont                 'ktxf'
  560. #define keyAETSMTextPointSize             'ktps'
  561. #define typeTextRange                     'txrn'                /*  TextRange  */
  562. #define typeComponentInstance             'cmpi'                /*  server instance  */
  563. #define typeOffsetArray                 'ofay'                /*  offset array  */
  564. #define typeTextRangeArray                 'tray'
  565. #define typeText                         'TEXT'                /*  Plain text  */
  566.  
  567. #define kTSMOutsideOfBody                 1
  568. #define kTSMInsideOfBody                 2
  569. #define kTSMInsideOfActiveInputArea     3
  570.  
  571. #define kNextBody                         1
  572. #define kPreviousBody                     2
  573.  
  574. #define kCaretPosition                     1                    /*  specify caret position  */
  575. #define kRawText                         2                    /*  specify range of raw text  */
  576. #define kSelectedRawText                 3                    /*  specify range of selected raw text  */
  577. #define kConvertedText                     4                    /*  specify range of converted text  */
  578. #define kSelectedConvertedText             5                    /*  specify range of selected converted text  */
  579. #define kBlockFillText                     6                    /*  Block Fill hilite style  */
  580. #define kOutlineText                     7                    /*  Outline hilite style  */
  581. #define kSelectedText                     8                    /*  Selected hilite style  */
  582.  
  583. #define keyAEHiliteRange                 'hrng'                /*  typeTextRangeArray for System 7, typeHiliteRangeArray for System 8     */
  584. #define keyAEPinRange                     'pnrg'                /*  typeTextRange for System 7, typeTextRegionRange for System 8     */
  585. #define keyAEClauseOffsets                 'clau'                /*  typeOffsetArray for System 7, typeClauseOffsetArray for System 8  */
  586. #define keyAEOffset                     'ofst'                /*  typeLongInteger for System 7, typeByteOffset for System 8     */
  587. #define keyAEPoint                         'gpos'                /*  typePoint for System 7, typeQDPoint for System 8  */
  588. #define keyAELeftSide                     'klef'                /*  typeBoolean  */
  589. #define keyAERegionClass                 'rgnc'                /*  typeShortInteger for System 7, typeRegionClass for System 8  */
  590. #define keyAEDragging                     'bool'                /*  typeBoolean  */
  591.  
  592. #if OLDROUTINENAMES
  593. #define keyAELeadingEdge                 'klef'
  594. #endif
  595.  
  596. #endif /* __AEREGISTRY_R__ */
  597.  
  598.